Alif Semiconductor /AE302F80C1557LE_CM55_HP_View /ADC120 /ADC_SHIFT_CONTROL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as ADC_SHIFT_CONTROL

31282724232019161512118743000000000000000000000000000000000000000000SHIFT_CONTROL0 (Val_0x0)SHIFT_DIR

SHIFT_DIR=Val_0x0

Description

ADC Data Shift Select Register

Fields

SHIFT_CONTROL

Shift these bits before loading value into the sample registers (ADC_SAMPLE_REG_n). To calculate the sample average, program this bit field with the number of bits to shift right based upon the number of samples taken: 1 sample: no shift 2 samples: shift right 1 bit 4 samples: shift right 2 bits 256 samples: shift right 8 bits If any additional shift left or right is desired it should be added to or subtracted from the averaging shift above, and the resulting value programmed into this register.

SHIFT_DIR

Shift averaged value before loading into the sample registers (ADC_SAMPLE_REG_n):

0 (Val_0x0): Shift averaged value left

1 (Val_0x1): Shift averaged value right

Links

() ()